package com.wander.business.book.c2_2_3;

import com.wander.business.book.c2_2_3.config.BookConfig_c2_2_3;
import com.wander.business.book.c2_2_3.service.BeanWayService;
import com.wander.business.book.c2_2_3.service.JSR250WayService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author Wander.Zeng
 * @create 2017-10-15 15:27
 * @desc BookMani
 */
public class BookMani {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(BookConfig_c2_2_3.class);

        BeanWayService beanWayService = context.getBean(BeanWayService.class);
        JSR250WayService jsr250WayService = context.getBean(JSR250WayService.class);

        context.close();
    }

}
